package org.oproject.rmi.hessian.core.invoke;

import org.oproject.rmi.hessian.core.job.HessianJob;
import org.oproject.rmi.hessian.exception.HessianRemoteInvokeException;

public interface Invokor
{
	/**
	 * 调用方法
	 * @param hessianJob
	 * @return
	 * @throws HessianRemoteInvokeException
	 */
	Object invoke(HessianJob hessianJob) throws HessianRemoteInvokeException;
}
